package com.cs.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cs.domain.SysLoginUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysLoginUserMapper extends BaseMapper<SysLoginUser> {
    /**
     * 查询用户的权限
     * @param userId
     * @return
     */
    List<String> findPermsByUserId(@Param("userId") Long userId);
}